package com.frank.practice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.frank.practice.entity.SubjectInfo;
import com.frank.practice.entity.dto.PracticeSubjectDto;
import com.frank.practice.entity.po.SubjectPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/3/5
 * @description
 */
@Mapper
public interface SubjectInfoMapper extends BaseMapper<SubjectInfo> {

    /**
     * 获取练习试题列表
     * @param practiceSubjectDto 练习试题条件
     * @return 练习试题列表
     */
    List<SubjectPo> getPracticeSubjectList(PracticeSubjectDto practiceSubjectDto);
}